﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDp_Preven_MeaintRepository : IDal
    {
        /// <summary>
        /// 预防性养护措施初选表 筛选适合的措施
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="str1"></param>
        /// <param name="str2"></param>
        /// <param name="str3"></param>
        /// <param name="rdclass"></param>
        /// <returns></returns>
        List<T> Get<T>(string str1, string str2, string str3, int rdclass) 
            where T : class, IDp_Preven_Meaint;

        /// <summary>
        /// 预防性养护措施初选表 筛选适合的措施
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="str1"></param>
        /// <param name="str2"></param>
        /// <param name="str3"></param>
        /// <param name="rdclass"></param>
        /// <returns></returns>
        List<T> Get<T>(string StrSearch,  int rdclass)
            where T : class, IDp_Preven_Meaint;
    }
}
